﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlanetSim.ParticleSimulator
{
    public class Particle
    {
        public Simulation Simulation;
        public Vector Position;
        public Vector Velocity;
        public Vector Acceleration;
        public float Radius;
        public float Mass;
        public float Density = 0;
        public Vector Force = Vector.Zero;

        public Particle(Simulation simulation)
        {
            this.Simulation = simulation;
            this.Radius = simulation.Parameters.SmoothLength / 2;
        }
    }
}
